package lab02.test36;

/**
 * Created by ASUS on 2017/11/9.
 */
public abstract class Student {
    String name;
   String type;//或者 int也可以
    //0 本科生
    //1 研究生
   // int type;
    double[] scores =new double[5];
    String grade;
    double average(){

        return (scores[0]+scores[1]+scores[2])/3;
    }
abstract String calGrade();
}
